//首页的所有后台请求接口
import {
	request
} from '@/utils/request.js';

const API_PREFIX = "/login";

export function login(data) {
	return request({
		url: `${API_PREFIX}/front`,
		method: 'POST',
		data: data
	})
}

export function pwdLogin(data) {
	return request({
		url: `${API_PREFIX}/front/pwd`,
		method: 'POST',
		data: data
	})
}